﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HalconDotNet;
using HVision;
using KstopaCommon;
using Euresys.Open_eVision_2_14;


namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        ELineGauge line;
        HImage hImage;
        HLineGuage lineGuage;
        HLineGuage lineGuage1;
        public Form1()
        {
            InitializeComponent();
            LogHelper.WriteLog("start");
            hImage = new HImage(@"Bracket1.tif");
            lineGuage = new HLineGuage();
            lineGuage1 = new HLineGuage();
            hImageControl1.Himage = hImage;
            hImageControl1.HShapes.Add(lineGuage);
            hImageControl1.HShapes.Add(lineGuage1);
            hImageControl1.RefreshControl();

            //lineGuage.DispPaths = true;
            //lineGuage.DispPoints = true;

        }

    }
}
